package com.sl.au.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.sl.au.entity.ReceivedPaymentTotalInfo;;

/**
 * 详细回款类型表
 * @author 刘昆
 *
 */

@Entity
@Table(name="sl_crm_receivedPaymentDetailInfoView")
public class ReceivedPaymentDetailInfoView extends Root {
	
	
	
   /**
    * 对应总回款登记
    */
	@ManyToOne	
	@JoinColumn(name="sReceivedPaymentTotalId")
    private ReceivedPaymentTotalInfo sReceivedPaymentTotalId;
	
	
	/**
	 * 合同ID
	 */
	@Column(name="sContractId")
	private String sContractId;
   
	/**
	 * 合同类型
	 */
	@Column(name="sContractType")
	private String sContractType;
	
	/**
	 * 回款金额
	 */
	@Column(name="nReceivedPaymentDetailPrice")
	private Double nReceivedPaymentDetailPrice;
	/**
	 * 操作员
	 */
	@Column(name="sReceivedPaymentPersonId")
	private String sReceivedPaymentPersonId;
	private String sReceivedPaymentPersonName;
	
	/**
	 * 回款计划日期
	 */
	@Column(name="dReceivedPaymentPlanAccDate")
	private Date dReceivedPaymentPlanAccDate;
	
	/**
	 * 回款生效日期
	 */
	@Column(name="dReceivedPaymentActualAccDate")
	private Date dReceivedPaymentActualAccDate;
	
	/**
	 * 交易方式
	 */
	@ManyToOne	
	@JoinColumn(name="sReceivedPaymentTradeWay")
	private Option sReceivedPaymentTradeWay;
	
	/**
	 * 备注
	 */
	@Column(name="sReceivedPaymentMemo")
	private String sReceivedPaymentMemo;
	
	
	/**
	 * 创建人
	 */
	@Column(name="sCreateUserId")
	private String sCreateUserId;
	private String sCreateUserName;


	public String getsCreateUserName() {
		return sCreateUserName;
	}


	public void setsCreateUserName(String sCreateUserName) {
		this.sCreateUserName = sCreateUserName;
	}


	public String getsReceivedPaymentPersonName() {
		return sReceivedPaymentPersonName;
	}


	public void setsReceivedPaymentPersonName(String sReceivedPaymentPersonName) {
		this.sReceivedPaymentPersonName = sReceivedPaymentPersonName;
	}


	public ReceivedPaymentTotalInfo getsReceivedPaymentTotalId() {
		return sReceivedPaymentTotalId;
	}


	public void setsReceivedPaymentTotalId(ReceivedPaymentTotalInfo sReceivedPaymentTotalId) {
		this.sReceivedPaymentTotalId = sReceivedPaymentTotalId;
	}


	public String getsContractId() {
		return sContractId;
	}


	public void setsContractId(String sContractId) {
		this.sContractId = sContractId;
	}


	public String getsContractType() {
		return sContractType;
	}


	public void setsContractType(String sContractType) {
		this.sContractType = sContractType;
	}


	public Double getnReceivedPaymentDetailPrice() {
		return nReceivedPaymentDetailPrice;
	}


	public void setnReceivedPaymentDetailPrice(Double nReceivedPaymentDetailPrice) {
		this.nReceivedPaymentDetailPrice = nReceivedPaymentDetailPrice;
	}


	public String getsReceivedPaymentPersonId() {
		return sReceivedPaymentPersonId;
	}


	public void setsReceivedPaymentPersonId(String sReceivedPaymentPersonId) {
		this.sReceivedPaymentPersonId = sReceivedPaymentPersonId;
	}


	public Date getdReceivedPaymentPlanAccDate() {
		return dReceivedPaymentPlanAccDate;
	}


	public void setdReceivedPaymentPlanAccDate(Date dReceivedPaymentPlanAccDate) {
		this.dReceivedPaymentPlanAccDate = dReceivedPaymentPlanAccDate;
	}


	public Date getdReceivedPaymentActualAccDate() {
		return dReceivedPaymentActualAccDate;
	}


	public void setdReceivedPaymentActualAccDate(Date dReceivedPaymentActualAccDate) {
		this.dReceivedPaymentActualAccDate = dReceivedPaymentActualAccDate;
	}


	public Option getsReceivedPaymentTradeWay() {
		return sReceivedPaymentTradeWay;
	}


	public void setsReceivedPaymentTradeWay(Option sReceivedPaymentTradeWay) {
		this.sReceivedPaymentTradeWay = sReceivedPaymentTradeWay;
	}


	public String getsReceivedPaymentMemo() {
		return sReceivedPaymentMemo;
	}


	public void setsReceivedPaymentMemo(String sReceivedPaymentMemo) {
		this.sReceivedPaymentMemo = sReceivedPaymentMemo;
	}


	public String getsCreateUserId() {
		return sCreateUserId;
	}


	public void setsCreateUserId(String sCreateUserId) {
		this.sCreateUserId = sCreateUserId;
	}	
}
